package com.apexsoft.assets.base.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(description = "请求报文原型")
public class QueryJSONRequest extends JSONRequest {
    @ApiModelProperty(position = 3, notes = "每页数:在分页查询中有用")
    private long pageSize = -1;
    @ApiModelProperty(position = 4, notes = "当前页:在分页查询中有用")
    private long currentPage = -1;
    @ApiModelProperty(position = 5, notes = "排序字段,排序时有用")
    private String sortLabel;

    public long getPageSize() {
        return pageSize;
    }

    public void setPageSize(long pageSize) {
        this.pageSize = pageSize;
    }

    public long getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(long currentPage) {
        this.currentPage = currentPage;
    }

    public String getSortLabel() {
        return sortLabel;
    }

    public QueryJSONRequest setSortLabel(String sortLabel) {
        this.sortLabel = sortLabel;
        return this;
    }
}
